<?php
namespace Home\Controller;
use Common\Controller\CommonController;
class PublicController extends CommonController {
    public function verify(){
    	
    	$verify =     new \Think\Verify();

    	$verify->length = 4;
        $verify->imageW = 150;
        $verify->imageH = 43;
        $verify->fontSize = 20;
        $verify->useCurve = false;

    	$verify->entry();

    }

    public function checkVerify($code, $id = ''){

    	$verify = new \Think\Verify(); 

    	return $verify->check($code, $id);

    }
}